package com.ossean.dao;

import java.util.List;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.ossean.model.OpenSourceProject;
import com.ossean.model.SimilityRecommends;


public interface SimilarityDao {
	
	//写入匹配结果
	@Insert("insert  into ${targetTableName} (osp_id,relative_osp_id,weight) values (#{osp_id},#{relative_osp_id},#{weight})")
	public void insertRecommends(@Param("targetTableName") String targetTableName, @Param("osp_id") int osp_id, 
			@Param("relative_osp_id") int relative_osp_id,@Param("weight") float weight);
	

}